package echo.codec;

import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.codec.MessageToMessageDecoder;

import java.util.List;
import java.util.Map;

public class MapDecoder extends MessageToMessageDecoder<Map<String, String>> {

    @Override
    protected void decode(ChannelHandlerContext ctx, Map<String, String> msg, List<Object> out) throws Exception {

        System.out.println(msg);
    }
}
